package cn.tworice.system.dao.department.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("system_user_department")
@Accessors(chain = true)
public class UserDepartmentDO {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer departmentId;

    private String userId;

    @TableLogic(value = "0",delval = "1")
    private Boolean deleted;
}
